Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode
authorFederico Mena Quintero <federico@novell.com>
Tue, 5 Oct 2010 19:41:51 +0000 (14:41 -0500)
committerFederico Mena Quintero <federico@novell.com>
Tue, 5 Oct 2010 20:35:31 +0000 (15:35 -0500)
commit1d21668ecc61e5ec89a8d57d13c56969c0d182f8
tree8c2ee9cf4b68ef79e12dd393b76e40b879843889
parentf7a20e35c17bc82bb1fbd92d362ab5caacc0e80f
Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode

Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER.
Now we just make that function act the same as for CREATE_FOLDER mode.  In either
case, if you type "/blah/nonexistent" and hit Enter, you want a folder
with that name to be created (under the already-existing /blah).

Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilechooserdefault.c